<!DOCTYPE html>
<html lang="en" ng-app="ManageApp">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>登录 - 奥鹏网考系统</title>
    <link rel="shortcut icon" href="favicon.ico" mce_href="/favicon.ico" type="image/x-icon" />

    <link href="..//Content/bootstrap.min.css" rel="stylesheet" />
    <link href="..//Content/font-awesome.min.css" rel="stylesheet" />
    <link href="..//assets/scripts/main.css" rel="stylesheet" />
    <link href="..//assets/scripts/ItemLogin.css" rel="stylesheet" />
    <link href="..//Content/toastr.css" rel="stylesheet" />
    <link href="..//App/style/Site.css" rel="stylesheet"/>

    <script src="..//Scripts/jquery-1.12.4.min.js"></script>
    <script src="..//Scripts/jquery.validate.min.js"></script>
    <script src="..//Scripts/bootstrap.min.js"></script>
    <script src="..//App/vendor/bootstrap-datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
    <script src="..//App/vendor/bootstrap-datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js"></script>

    <script type="text/javascript">
        var isNeedCheckVersion = '${IsNeedCheckVersion}';
    </script>
</head>
<body ng-controller="loginController">
<div class="row" style="margin: 0;">
    <div class="col-xs-12 items-login">
        <!-- Errors container -->
        <div class="errors-container"></div>
        <div class="login-border">
            <div class="row">
                <!-- Add class "fade-in-effect" for login form effect -->
                <form method="post" role="form" id="loginForm">
                    <div class="col-xs-10 login-cols">
                        <img src="..//assets/images/common/head.png" width="40" />
                        <span>登录考点控制台</span>
                    </div>

                    <div class="col-xs-10 login-cols login-prompt">
                        请输入用户名和密码登录系统！
                    </div>

                    <div class="col-xs-10 login-input">
                        <input type="text" ng-model="username" class="form-control" name="username" id="username" autocomplete="off" placeholder="用户名" maxlength="20" />
                    </div>
                    <div class="col-xs-10 login-input" style="margin-top: 5px">
                        <input type="password" ng-model="password" class="form-control" name="password" id="password" autocomplete="off" placeholder="密码" maxlength="20" />
                    </div>

                    <div class="col-xs-10 login-input">
                        <button type="submit" id="btnSubmit" ng-click="login();" ng-disabled="loadingState" class="btn login-btn">
                            <i class="fa fa-lock"></i>
                            登录
                        </button>
                        <button type="button" class="btn login-btn hidden" ng-click="examSiteConfig();" style="margin-left: 20px">
                            <i class="fa fa-gear"></i>
                            配置新考点
                        </button>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>

<!--@Scripts.Render("~/js/manager/base")-->
<script src="..//assets/js/TweenMax.min.js"></script>
<script src="..//assets/js/resizeable.js"></script>
<script src="..//assets/js/joinable.js"></script>
<script src="..//assets/js/xenon-api.js"></script>
<script src="..//assets/js/xenon-toggles.js"></script>

<!--@Scripts.Render("~/js/manager/login")-->
<script src="..//Scripts/jquery.validate.min.js"></script>
<script src="..//Scripts/toastr.min.js"></script>

<!--@Scripts.Render("~/js/base/angular")-->
<script src="..//App/vendor/angular/angular.js"></script>
<script src="..//App/vendor/angular/angular-route.js"></script>
<script src="..//Scripts/moment.js"></script>
<script src="..//Scripts/ui-bootstrap-tpls-0.13.0.min.js"></script>
<script src="..//App/vendor/bootstrap-notify/bootstrap-notify.min.js"></script>

<!--@Scripts.Render("~/js/angularjs/Config")-->
<script src="..//App/scripts/common/controller.js"></script>
<script src="..//App/scripts/common/directives.js"></script>
<script src="..//App/scripts/common/filter.js"></script>
<script src="..//App/scripts/common/interceptor.js"></script>
<script src="..//App/scripts/common/service.js"></script>

<script src="..//App/scripts/common.js"></script>
<script src="..//App/scripts/Config/controller.js"></script>
<script src="..//App/scripts/Config/service.js"></script>



<script src="..//App/scripts/ManagerApp.js"></script>

<!--@Scripts.Render("~/js/manager/end")-->
<script href="..//assets/js/xenon-custom.js"></script>

<script>
    $(function ($) {
        $('#username').focus();

        // Reveal Login form
        // 好像
        //setTimeout(function () { $(".fade-in-effect").addClass('in'); }, 1);

        // Validation and Ajax action
        $("form#loginForm").validate({
            rules: {
                username: { required: true },
                password: { required: true }
            },
            messages: {
                username: { required: '请输入用户名！' },
                password: { required: '请输入密码！' }
            }
        });

        // Set Form focus
        $("form#login .form-group:has(.form-control):first .form-control").focus();
    });
</script>

<!--@Scripts.Render("~/assets/scripts/itemLogin_view.js")-->
<script src="..//assets/scripts/itemLogin_view.js"></script>
</body>
</html>